<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>

<c:set var="ctx" value="${pageContext.request.contextPath}" />
<c:set var="queryList" value="${pageContext.request.contextPath}/userapps/list" />	

  <div class="iframe-cot pull-right" id="smIframe" style="background:#FFFFFF;">
    <div class="right-form">
       	<form id="_query_form" action="" class="form-inline" onsubmit="return false;">
           	<div class="tb_search">
           	<div class="pull-left">
           		<span class="search-more">更多条件<i class="fa fa-angle-down ml5"></i></span>	
           		<div class="form-group-Wdate">
                    <label for="userName" class="ml5">用户名称：</label>
					<input type="text"  id="userName" name="userName" value="${fn:escapeXml(userName) }" />
               	</div>
				<div class="form-group">
               		<label for="appGroupName" class="ml5">角色名称：</label>
					<input type="text" id="roleName" name="roleName" value="${fn:escapeXml(roleName) }" />
               	</div>
               	<div class="form-group">
               		<label for="appName" class="ml5">应用名称：</label>
					<input type="text" id="appName" name="appName" value="${fn:escapeXml(appName) }" />
               	</div>
             </div>
             </div>
       </form>
    </div>
                  
   	<div class="line-e6e"></div>
   		
    <div class="form-top">
      	<div class="pull-right">
        	<button type="button" class="btn btn-orange" onclick="changePage('${queryList }/table','#_query_form','1','${pageBean.pageSize }',0,true)"><i class="fa fa-search mr5"></i>查询</button>
          	<button type="button" class="btn btn-blue" onclick="clearForm('#_query_form')"><i class="fa fa-trash-o mr5"></i>清空</button>
      	</div>
    </div>
     <div id="table-papination"> 
     
     </div>           
    </div> 

          <!--main end--> 
     
  <script src="${ctx}/static/js/search-more.js"></script>    
 <script type="text/javascript">
 var currentPageNo = parseInt('${pageBean.currentPage}');
 var currentPageSize = parseInt('${pageBean.pageSize }');
 var totalPageCount = parseInt('${pageBean.totalPage}');
 var queryUrl = '${ctx}/userapps/list';
 
 $(document).ready(function(){
	 loadConent('${queryList }/table','',true);
 });
 </script>